package com.xuan.temper.dao;

import com.xuan.temper.entity.EchartsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @创建人： king xuan
 * @创建时间：2020/9/22
 * @描述：
 */
@Mapper
@Repository
public interface EchartsDao {

    /**
     * [新增]
     * @author xuan
     * @date 2020/09/22
     **/
    Boolean insert(EchartsEntity echarts);

    /**
     * [刪除]
     * @author xuan
     * @date 2020/09/22
     **/
    int delete(int id);

    /**
     * [更新]
     * @author xuan
     * @date 2020/09/22
     **/
    int update(EchartsEntity echarts);

    /**
     * [查询] 根据主键 id 查询
     * @author xuan
     * @date 2020/09/22
     **/
    EchartsEntity load(int id);

   List<EchartsEntity> test();



}
